/*
 * Copyright (c) 2023-2025 elsfs Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.elsfs.cloud.module.ai.api.entity;

import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.elsfs.cloud.common.core.entity.BaseSpellEntity;

/**
 * 模型配置
 *
 * @author zeng
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ColumnWidth(20)
public class AiModelConfig extends BaseSpellEntity {
  @TableId
  @Schema(description = "模型id")
  @ExcelProperty(value = "模型id")
  private String modelId;

  @Schema(description = "模型平台")
  @ExcelProperty(value = "模型平台")
  private String platformId;

  @Schema(description = "模型名称")
  @ExcelProperty(value = "模型名称")
  private String modelName;

  @Schema(description = "模型描述")
  @ExcelProperty(value = "模型描述")
  private String desc;

  /** 文本生成 全模态 推理模型 音频理解 视频理解 视频生成 图片处理 图片理解 图片生成 向量模型 语音合成 语音识别 排序模型 */
  @Schema(description = "模型类型")
  @ExcelProperty(value = "模型类型")
  private String type;

  @Schema(description = "供应商")
  @ExcelProperty(value = "供应商")
  private String supplier;

  @Schema(description = "模型状态")
  @ExcelProperty(value = "模型状态")
  private String status;
}
